<%-- 
    Document   : ProductTypeContent
    Created on : Jan 3, 2012, 10:16:33 AM
    Author     : Katori
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<div id="main">
    <div id="title">
        <h1>${requestScope.tenDanhMuc}</h1>            	
    </div>
    <div id="left_sidebar">
        <h2>Shop ${requestScope.tenDanhMuc}</h2>
        <ul>
            <c:forEach items="${requestScope.productTypeList}" var="type" varStatus="status">
                <li><a class='menuitem' href='#'>${type.getTenLoaiSanPham()}</a></li>    
            </c:forEach>
        </ul>
    </div>
    <div id="main_content">
        <div id="dsloaisanpham">
            <ul>
                <c:forEach items="${requestScope.productTypeList}" var="type" varStatus="status">
                    <li>
                        <a href="ProductController.do?action=GetProductList&ID=${type.getMaLoaiSanPham()}"><img src="${type.getAnhDaiDien()}" /></a>
                        <a href="ProductController.do?action=GetProductList&ID=${type.getMaLoaiSanPham()}">${type.getTenLoaiSanPham()}</a>
                    </li>
                </c:forEach>
            </ul>
        </div>
    </div>

</div>

